*** Settings ***
Resource   ../Common_Head.robot

*** Variables ***


*** Keywords ***
Select Column for LCL Template
    Wait Until Search Finished
    Wait Until Keyword Succeeds   20x    500ms    Get Element State    ${LCL_CD_LaneNumber}    visible    should be    True
    Click    ${LCL_CD_LaneNumber}
    Click    ${LCL_CD_PostalCode}
    Click    ${LCL_CD_TBN}
    Click    ${LCL_CD_CustomerTargetInformation}
    Click    ${LCL_CD_Origin/Destination}

    Click    ${Template_OriginTab}
    Wait Until Keyword Succeeds   20x    500ms    Get Element State    ${Origin_PPF_MIN}    visible    should be    True
    Click    ${Origin_PPF_MIN}
    Click    ${Origin_PPF_MAX}
    Click    ${Origin_TBN}
    Click    ${Origin_W/M_MIN}
    Click    ${Origin_BuyersConsolidationStuffingCharges}
    Click    ${Origin_DBSchenkerOriginPort}
    Click    ${Origin_COC_MIN}
    Click    ${Origin_COC_MAX}

    Click    ${Template_MainTransportTab}
    Wait Until Keyword Succeeds   20x    500ms    Get Element State    ${MT_OwnConsolBoxY/N}    visible    should be    True
    Click    ${MT_MCF_Minimum}
    Click    ${MT_OceanFreightServiceDetails}
    Click    ${MT_OceanFreightServiceDetails}
    Click    ${MT_Mapping-SailingInformation}
    Click    ${MT_TBN}

    Click    ${Template_DestinationTab} 
    Wait Until Keyword Succeeds   20x    500ms    Get Element State    ${Destination_CFSDestinationCharges}    visible    should be    True
    Click    ${Destination_CDC_MIN}
    Click    ${Destination_CDC_MAX}
    Click    ${Destination_ShippersConsolidationCharges}
    Click    ${Destination_DBDestinationPortStorage}
    Click    ${Destination_W/M_MIN}
    Click    ${Destination_ODF_MIN} 
    Click    ${Destination_ODF_MAX} 
    Click    ${Destination_TBN}
    Click    ${Destination_TOTALTransitTime}